package com.tangmin.factory;/**
 * @ClassName DynamicFactory
 * @Description TODO
 * @date 2021/9/17 20:57
 * @Version 1.0
 */

import com.tangmin.dao.UserDao;
import com.tangmin.dao.impl.UserDaoImpl;

/**
 * 工厂实例方法创建Bean对象
 *
 * @author YourName
 * @date 2021-09-17 20:57
 **/
public class DynamicFactory {
    public UserDao getUserDao(){
        return new UserDaoImpl();
    }
}
